
.xy-table-border {
  margin: 10px 0;
  width: 100%;
  border-collapse: collapse;
  table-layout:fixed;
  tr {
    border-top: 1px solid #dfdfdf;
    border-right: 1px solid #dfdfdf;
    &:last-child {
      border-bottom: 1px solid #dfdfdf;
    }
    td {
      word-wrap:break-word;
      word-break:break-all;
      table-layout:fixed;
      padding: 14px 10px;
      // text-align: center;
      &:nth-child(2n+1){
        background-color: $xy-background-light;
        border-left: 1px solid #dfdfdf;
      }
      &:nth-child(2n){
        border-left: 1px solid #dfdfdf;
      }
    }
  }
}
// 医生管理 权限设置的样式
.doctor-manager-table {
  width: 350px;
  td {
    padding-left: 15px;
    width: 50%;
    height: 40px;
    border: 1px solid #dfdfdf;
    .el-checkbox__inner {
      width: 18px;
      height: 18px;
      &:after {
        left: 6px;
        top: 3px;
      }
    }
  }
  .bg-grey {
    background: #f2f6fc;
  }
}
.doctor-manager-table + .doctor-manager-table {
  td {
    border-top: none;
  }
}

// info 医联体 STR
h3.title {
  font-weight: normal;
  font-size: 16px;
  height: 100%;
  margin: 0;
  padding: 0;
  border-left: 3px solid #409EFF;
  padding-left: 10px;
  margin-bottom: 20px;
}

ul.list {
  // margin-right: 20px;
  li {
    margin-bottom: 15px;
    position: relative;
  }
  label {
    width: 68px;
    position: absolute;
    display: block;
    float: left;
    top: 0;
    left: 0;
    color: #303133;
    text-align: right;
  }
  p {
    padding-left: 80px;
    color: #606266;
    min-height: 19px;
  }
}
// info END

// 组件 xySelectImg STR
.xy-select-img {
  li {
    width: 100px;
    height: 80px;
    line-height: 80px;
    border: 1px solid #dfdfdf;
    float: left;
    position: relative;
    margin: 0 10px 10px 0;
  }
  .showImg {
    height: 100px;
    border-radius: 6px;
    img {
      border-radius: 6px;
    }
  }
  .img, input {
    display: block;
    width: 100%;
    height: 100%;
  }
  b {
    width: 20px;
    height: 20px;
    background: url('../img/sprites.png');
    background-position: -40px -60px;
    background-size: 800px 320px;
    right: 0;
    top: 0;
    &:hover {
      background-position: -80px -60px;
    }
  }
  .el-icon-plus {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .dialog {
    li {
      width: 80px;
      height: 60px;
    }
  }
  .circle {
    width: 80px;
    border-radius: 100%;
    margin: 0;
    input {
      position: absolute;
      border-radius: 100%;
      left: 0;
      top: 0;
    }
  }
}
// 组件 xySelectImg 

.contract-list li {
  position: relative;
  vertical-align: top;
  display: inline-block;
  width: 80px;
  height: 80px;
  overflow: hidden;
  margin-right: 10px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.contract-list li > a {
  display: inline-block;
  width: 100%;
  height: 100%;
  border: 1px solid #dfdfdf;
  overflow: hidden;
}

.contract-list li > a img {
  width: 100%;
  margin-bottom: -3px;
}

.contract-list li .delete-contract {
  position: absolute;
  right: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background-image: url(../../assets/images/sprites.png);
  background-repeat: no-repeat;
  background-position: -40px -60px;
  background-size: 800px 320px;
  cursor: pointer;
}

.contract-list li .delete-contract:hover {
  background-position: -80px -60px;
}

.contract-list li.add-contract {
  cursor: pointer;
  position: relative;
  border: 1px solid #dfdfdf;
  margin-right: 0;
  z-index: 999;
}

.contract-list li.add-contract > span {
  position: absolute;
  line-height: 0;
  width: 100%;
  text-align: center;
  font-size: 24px;
  color: #ddd;
  cursor: pointer;
  top: 50%;
  margin-top: -4px;
  vertical-align: middle;
}

.textarea-box {
  .el-textarea__inner {
    resize: none;
    border: none;
    background-color: #ebebe4;
  }
}

.xy-auth{
  display: none !important;
}
// tooltip换行
.el-tooltip__popper{
  word-wrap: break-word !important;
}
